Skip to content

Retrieve Google OAuth settings

Request

Returns data about Google OAuth authorization.

Security
ApiKeyAuth
Path
subdomainstringrequired

Unique subdomain of requested Hub.

curl -i -X GET \
  'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/access_restriction/google_oauth' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
enabledboolean

State of Google OAuth authorization.
In order to enable this method the domains whitelist has to be set and enabled.

Response
{ "enabled": true }